
<table>


<?php


$dirs = scandir(".");


foreach ($dirs as $dir) {

    //$user = basename($dir);
    $path_parts = pathinfo($dir);
    //echo "$user...";
    //echo $path_parts['extension'].($path_parts['filename'] != "index")."\n";
    //echo $path_parts['filename']."\n";
    if ($path_parts['extension']=='php' && $path_parts['filename'] != "index" && $path_parts['filename'] !="high" ) {
        echo "<tr><td><a href='$dir'>$dir</a>  </td><td> <a href='high.php?file=$dir'> Source </a></td></tr>";
    }

}

?>

</table>